package com.xjun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjun.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 使用Mybatis_plus只需要在对应的Mapper上继承基本的类BaseMapper
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    //所有的CRUD已编写完成
    //不需要像以前一样
}
